package com.j.lemon.learn.basic.designModel.工厂模式.simple;

/**
 * 简单工厂模式
 */
public class Consumer {
    public static void main(String[] args) {
        Car car = new DazhongCar();

        Car car1 = new BaomaCar();

        Car dz = CarFactory.getCar("dz");
        Car bm = CarFactory.getCar("bm");

    }
}
